package com.njtoyo.taxi.admin.rest.wrapper.business.company;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.mapper.master.enums.DriverWithdrawState;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;
import java.util.Objects;

@EqualsAndHashCode(callSuper = true)
@Data
public class CompanyWithdrawWrapper extends Page<CompanyWithdrawWrapper> {

    public CompanyWithdrawWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    private Long cantonId;
    private Long companyId;
    private DriverWithdrawState state;
    private String driverPhone;
    private String stateDate;
    private String endDate;

    private List<Long> cantonIds;
    private List<Long> companyIds;

    private String startTime;
    private String endTime;
}
